package 选课系统;

public class People {
	//成员属性id、name、sex、course
	public String id;
	public String name;
	public String sex;
	public Course[] courses;
	
	
	//构造函数
	public People() {
		courses = new Course[1];
	}
	public People(String id,String name,String sex) {
		this.id = id;
		this.name = name;
		this.sex = sex;
		courses = new Course[1];
	}
	
	
	//获取id
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	//获取name
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	//获取sex
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
}
